package com.crm.dto.Vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class CommonPageQueryVo<T> implements Serializable {

    private Long total;
    private List<T> rows;
    private int code;
    private String msg;
    private Object params;

    public CommonPageQueryVo(Long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
        this.code = 200;
        this.msg = "操作成功";
    }
}